package com.yzh.croom.service.impl;

import com.yzh.croom.mapper.CourseTimeMapper;
import com.yzh.croom.model.domain.CourseTime;
import com.yzh.croom.service.CourseTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseTimeServiceImpl implements CourseTimeService {
    @Autowired
    private CourseTimeMapper courseTimeMapper;
    @Override
    public List<CourseTime> getCourseTime() {
        return courseTimeMapper.getAllCourseTime();
    }
}
